package com.ruoyi.project.system.task.domain;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.io.Serializable;
import java.util.Date;

public class Transfer extends BaseEntity implements Serializable {

    /**
    * 转移任务id
    */
    @Excel(name = "转移任务id")
    private Integer transferId;

    /**
    * 申请人id
    */
    @Excel(name = "申请人id")
    private Integer applicant;

    /**
    * 申请时间
    */
    @Excel(name = "申请时间" ,width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date applicantionTime;

    /**
    * 转移原因
    */
    @Excel(name = "转移原因")
    private String transferReason;

    /**
    * pass 是否同意：1、同意 0、不同意
    */
    @Excel(name = "审核状态：1、通过 0、不通过")
    private Integer pass;

    /**
    * 审核人员（职位）
    */
    @Excel(name = "审核人员（职位）")
    private String auditor;

    /**
    * 审核时间
    */
    @Excel(name = "审核时间" ,width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date auditTime;

    /**
    * 详细意见
    */
    @Excel(name = "详细意见")
    private String opinion;

    /**
    * task_id 任务id
    */
    @Excel(name = "任务id")
    private Long taskId;

    /**
     * 申请人名称
     */
    @Excel(name = "申请人名称")
    private String userName;

    /**
     * 继任者id
     */
    @Excel(name = "继任者id")
    private Integer successor;

    /**
     *任务标题
     */
    @Excel(name = "任务标题")
    private String taskTitle;

    /**
     * 任务内容
     */
    @Excel(name = "任务内容")
    private String content;

    /**
     * 任务开始时间
     */
    @Excel(name = "任务开始时间" ,width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /**
     * 任务结束时间
     */
    @Excel(name = "任务结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /**
     * 继任者姓名
     */
    @Excel(name = "接替者姓名")
    private String succeName;

    public String getSucceName() {
        return succeName;
    }

    public void setSucceName(String succeName) {
        this.succeName = succeName;
    }

    public String getTaskTitle() {
        return taskTitle;
    }

    public void setTaskTitle(String taskTitle) {
        this.taskTitle = taskTitle;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getSuccessor() {
        return successor;
    }

    public void setSuccessor(Integer successor) {
        this.successor = successor;
    }

    public Integer getTransferId() {
        return transferId;
    }

    public void setTransferId(Integer transferId) {
        this.transferId = transferId;
    }

    public Integer getApplicant() {
        return applicant;
    }

    public void setApplicant(Integer applicant) {
        this.applicant = applicant;
    }

    public Date getApplicantionTime() {
        return applicantionTime;
    }

    public void setApplicantionTime(Date applicantionTime) {
        this.applicantionTime = applicantionTime;
    }

    public String getTransferReason() {
        return transferReason;
    }

    public void setTransferReason(String transferReason) {
        this.transferReason = transferReason;
    }

    public Integer getPass() {
        return pass;
    }

    public void setPass(Integer pass) {
        this.pass = pass;
    }

    public String getAuditor() {
        return auditor;
    }

    public void setAuditor(String auditor) {
        this.auditor = auditor;
    }

    public Date getAuditTime() {
        return auditTime;
    }

    public void setAuditTime(Date auditTime) {
        this.auditTime = auditTime;
    }

    public String getOpinion() {
        return opinion;
    }

    public void setOpinion(String opinion) {
        this.opinion = opinion;
    }

    public Long getTaskId() {
        return taskId;
    }

    public void setTaskId(Long taskId) {
        this.taskId = taskId;
    }

    @Override
    public String toString() {
        return "Transfer{" +
                "transferId=" + transferId +
                ", applicant=" + applicant +
                ", applicantionTime=" + applicantionTime +
                ", transferReason='" + transferReason + '\'' +
                ", pass=" + pass +
                ", auditor='" + auditor + '\'' +
                ", auditTime=" + auditTime +
                ", opinion='" + opinion + '\'' +
                ", taskId=" + taskId +
                ", userName='" + userName + '\'' +
                ", successor=" + successor +
                ", taskTitle='" + taskTitle + '\'' +
                ", content='" + content + '\'' +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                '}';
    }
}